/**
 * Created by zhang.xu on 2016/4/26.
 */

var mongoose = require('mongoose');
var Schema = mongoose.Schema;

//骨架模板
var userSchema = new Schema({
    //用户登录名称
    loginName: String,
    //用户密码
    password: String,
    //用户昵称
    userNickName: String,
    //用户邮箱
    userEmail: String,
    //用户性别
    userGender: String,
    //用户年龄
    userAge: String

});

exports.user = mongoose.model('User', userSchema);